
public class Process {
	private int processId;
	private int parentProgramId;
	private int processQuntum;
	private int processPCRegister;
	private int processBaseRegister;
	private int processTopRegister;
	private boolean slotValueWritten;
	private boolean slotValueRead;
	private int putSlotReceiverId;
	private int putSlotSenderId;
	private int putSlotValue;
	
	/**
	 * Process constructor
	 * @param processId
	 * @param processQuntum
	 */
	public Process(int processId, int processQuntum) {
		this.processId = processId;
		this.processQuntum = processQuntum;
	}	

	public Process() {		
	}	

	public int getProcessId() {
		return processId;
	}
	
	public int getParentProgramId() {
		return parentProgramId;
	}

	public void setParentProgramID(int parentProgramID) {
		this.parentProgramId = parentProgramID;
	}
	
	public int getProcessQuntum() {
	    return processQuntum;
	}

	public void setProcessQuntum(int processQuntum) {
	    this.processQuntum = processQuntum;
	}

	public void setProcessId(int processId) {
	    this.processId = processId;
	}

	public int getProcessPCRegister() {
	    return processPCRegister;
	}

	public void setProcessPCRegister(int processPCRegister) {
	    this.processPCRegister = processPCRegister;
	}

	public int getProcessBaseRegister() {
	    return processBaseRegister;
	}

	public void setProcessBaseRegister(int processBaseRegister) {
	    this.processBaseRegister = processBaseRegister;
	}

	public int getProcessTopRegister() {
	    return processTopRegister;
	}

	public void setProcessTopRegister(int processTopRegister) {
	    this.processTopRegister = processTopRegister;
	}
		
	public int getPutSlotReceiverId() {
		return putSlotReceiverId;
	}

	public void setPutSlotReceiverId(int putSlotReceiverId) {
		this.putSlotReceiverId = putSlotReceiverId;
	}

	public int getPutSlotValue() {
		return putSlotValue;
	}

	public void setPutSlotValue(int putSlotValue) {
		this.putSlotValue = putSlotValue;
	}

	public boolean isSlotValueRead() {
		return slotValueRead;
	}

	public void setSlotValueRead(boolean slotValueRead) {
		this.slotValueRead = slotValueRead;
	}

	public boolean isSlotValueWritten() {
		return slotValueWritten;
	}
	
	public int getPutSlotSenderId() {
		return putSlotSenderId;
	}

	public void setPutSlotSenderId(int putSlotSenderId) {
		this.putSlotSenderId = putSlotSenderId;
	}

	public void setSlotValueWritten(boolean slotValueWritten) {
		this.slotValueWritten = slotValueWritten;
	}

	
} 
